package com.xinbochuang.machine.admin.mapper.macRoom;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinbochuang.machine.admin.domain.macRoom.ContrastEquCabinet;
import com.xinbochuang.machine.admin.domain.macRoom.ContrastEquipmentDetail;
import com.xinbochuang.machine.admin.dto.ContrastEquCabinetDto;
import com.xinbochuang.machine.admin.dto.EquipmentDetailDto;

/**
 *
 * @author 杜文博
 * @date 2020-09-21
 */
public interface ContrastEquCabinetMapper extends BaseMapper<ContrastEquCabinet> {
	/**
	 * 核查机柜列表
	 * @param macId
	 * @param planId
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	List<ContrastEquCabinetDto> selectContrasCabinetList (
		@Param("macId") String macId,
		@Param("planId") String planId,
		@Param("pageNum") String pageNum,
		@Param("pageSize") String pageSize);

	Integer selectContrasCabinetCount (
		@Param("macId") String macId,
		@Param("planId") String planId,
		@Param("pageNum") String pageNum,
		@Param("pageSize") String pageSize);

	List<EquipmentDetailDto> findEquDetailByCabinetId (String cabinetId);

	List<ContrastEquipmentDetail> selectEquDetailByCabinetId(String cabinetId);
}
